﻿using RsCode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RsCms.Core
{
    [ScopedService]
    public interface IPageDomainService
    {
        Task<Entities.Posts> GetPageInfoAsync(string id);

        Task<Entities.Posts> SaveAsync(Entities.Posts posts);

        Task<PageData<Entities.Posts>> PageAsync(int page, int pageSize);
    }
}
